package finance

class Datasource {
    String name
    String description
    Date added = new Date()

    static constraints = {
      name(unique:true, blank:false)
      description(maxSize:255)
    }

    static belongsTo = Instrument

    String toString() {
      "${name}"
    }
}
